<div class="modal fade" id="booking-false_register" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" id="divloginpopup">
        <div class="modal-content">
            <form method="post" class="frm_register">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">Resgiter</h4>
                </div>
                <div class="modal-body">

                    <form  method="post" class="frm_register" >
                        <p id="infor_reponse_sucess1" style="color: green; font-weight: bold; display: none;">
                            You have registered successfully.Please check your email to activate your account. 
                            After that, you can  <a style='cursor:pointer'  id='comebacklogin' >click here</a>to login
                        </p>
                        <p  id="infor_reponse_sucess2" style="display: none;">
                            
                            <span style='color:red;'>Email is existed</span>
                        </p>
                        <p>
                            <label>First Name</label>
                            <input  class="input_popup"   type="text"  id="txt_name" name="txt_name" value="<?php
                            if (isset($_REQUEST['txt_name'])) {
                                echo $_REQUEST['txt_name'];
                            }
                            ?>" />
                        <p id="error_name" class="error_info"  ></p>
                        <p>
                            <label>Last Name</label>
                            <input class="input_popup" type="text"  id="txt_lastname" name="txt_lastname" value="<?php
                            if (isset($_REQUEST['txt_lastname'])) {
                                echo $_REQUEST['txt_lastname'];
                            }
                            ?>" />

                        <p id="error_lastname"  class="error_info"></p>
                        </p>

                        <p style="display: none;">
                            <label>User Name</label>
                            <input  class="input_popup"  type="text"  id="txt_username" name="txt_username"  value="<?php
                            if (isset($_REQUEST['txt_lastname'])) {
                                echo $_REQUEST['txt_username'];
                            }
                            ?>" />                                            
                        <p id="error_username"  class="error_info"></p>
                        </p>
                        <p>
                            <label>Email Address</label>
                            <input class="input_popup"  type="text" id="txt_email2" name="txt_email2" value="<?php
                            if (isset($_REQUEST['txt_email'])) {
                                echo $_REQUEST['txt_email'];
                            }
                            ?>" />
                        <p id="error_email"  class="error_info"></p>
                        </p>
                        <p>
                            <label>Password</label>
                            <input class="input_popup"   type="password" id="txt_password2" name="txt_password2"  />
                        <p id="error_passw"  class="error_info"></p>
                        </p>
                        <p>
                            <label>Re-Password:</label>
                            <input  class="input_popup"  type="password" id="txt_repassword"  name="txt_repassword" />
                        <p id="error_repassw"  class="error_info"></p>
                        </p>

                        <p>
                            <label>City</label>
                            <input class="input_popup"  type="text"   value="<?php
                            if (isset($_REQUEST['txt_city'])) {
                                echo $_REQUEST['txt_city'];
                            }
                            ?>"  id="txt_city" name="txt_city"   />
                        <p id="error_city"  class="error_info"></p>
                        </p>




                        <p>
                            <label>Country</label>
                            <select class="input_popup"  id="select_country"  name ="select_country">
                                <?php
                                $selectc = 1;
                                if (isset($_REQUEST['select_country'])) {
                                    $selectc = $_REQUEST['select_country'];
                                }
                                echo Country::get_all_option_country();
                                ?>
                            </select>
                        </p>

                        <p>
                            <label>State</label>
                            <span id="div_get_state" class="input_popup" >
                                <?php
                                $selectc2 = 1;
                                if (isset($_REQUEST['state'])) {
                                    $selectc2 = $_REQUEST['state'];
                                }
                                echo Country:: get_all_state_by_id_country($selectc2);
                                ?>
                            </span>

                        <p id="error_state"  class="error_info"></p>
                        </p>
                        <p>

                            <label>Postcode</label>
                            <input class="input_popup" type="text"  value="<?php
                            if (isset($_REQUEST['txt_postcode'])) {
                                echo $_REQUEST['txt_postcode'];
                            }
                            ?>"   id="txt_postcode" name="txt_postcode" />
                            <input type="hidden"   name="check_add" id="check_add" value="1" />
                           <p id="error_postcode"  class="error_info"></p>
                        </p>
                    </form>

                </div>
                <div class="modal-footer">
                    <button  type="button" name="bt_creatRegisterPopup"  id="bt_creatRegisterPopup"  class="btn btn-default" >
                         Create Your Account
                    </button>
                    <button  type="button" name="bt_loginpopupbackcome"  id="bt_loginpopupbackcome"  class="btn btn-default" >
                        LOG IN
                    </button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </form>
        </div>

    </div>
</div>